package com.cpi.cornpp.costelement.view;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class CostElementView implements Serializable {
	/**Serial ID*/
	private static final long serialVersionUID = -8236659291746130987L;
	/**Cost Element ID*/
	private int costElementID;
	/**Cost Element Code*/
	private String costElementCode;
	/**Cost Element Description*/
	private String costElementDescription;
	/**Cost Element Type Id*/
	private int typeId;
	/**List of transports*/
	private List transports;
	/**
	 * Default constructor
	 */
	public CostElementView(){
		costElementID = -1;
		transports = new ArrayList();
	}
	/**
	 * @return transport list
	 */
	public List getTransports() {
		return transports;
	}
	/**
	 * @param transports list
	 */
	public void setTransports(List transports) {
		this.transports = transports;
	}
	/**
	 * @param costElementID the costElementID to set
	 */
	public void setCostElementID(int costElementID) {
		this.costElementID = costElementID;
	}
	/**
	 * @return the costElementID
	 */
	public int getCostElementID() {
		return costElementID;
	}
	/**
	 * @param costElementCode the costElementCode to set
	 */
	public void setCostElementCode(String costElementCode) {
		this.costElementCode = costElementCode;
	}
	/**
	 * @return the costElementCode
	 */
	public String getCostElementCode() {
		return costElementCode;
	}
	/**
	 * @param costElementDescription the costElementDescription to set
	 */
	public void setCostElementDescription(String costElementDescription) {
		this.costElementDescription = costElementDescription;
	}
	/**
	 * @return the costElementDescription
	 */
	public String getCostElementDescription() {
		return costElementDescription;
	}
	/**
	 * @param costElementTypeId the costElement Type to set
	 */
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	/**
	 * @return the costElement Type Id
	 */
	public int getTypeId() {
		return typeId;
	}
}